//
//  UIScrollView+HBRefresh.h
//  ZCJZ
//
//  Created by sujeking on 2019/12/23.
//  Copyright © 2019 jeking. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef void (^HBRefreshBlock)(void);

@interface UIScrollView (HBRefresh)

- (void)addHeaderRefreshWithCallBack:(HBRefreshBlock)callBack;
- (void)addFooterRefreshWithCallBack:(HBRefreshBlock)callBack;

- (void)beginRefreshing;

- (void)endHeaderRefreshing;
- (void)endFooterRefreshing;
@end

NS_ASSUME_NONNULL_END
